package com.example.homemodule.model.bean;

import java.util.List;

/**
 * Created by SHICHENG
 * <p>
 * Time on 2022/01/17
 */
public class ReBuyEntity {


    /**
     * result : true
     * msg : null
     * data : [{"type":"2","doctorUrl":null,"diagnose":null,"commodityId":125631572541441,"commodityName":"艾司奥美拉唑镁肠溶片2","spec":"40mg*7片","drugUrl":"https://imgvbp.yilijk.com/vbpadmin/test/image/1635131239548","price":50,"doctorId":null,"inquiryQuantity":null,"articleQuantity":2},{"type":"2","doctorUrl":null,"diagnose":null,"commodityId":125631572541441,"commodityName":"艾司奥美拉唑镁肠溶片2","spec":"40mg*7片","drugUrl":"https://imgvbp.yilijk.com/vbpadmin/test/image/1635131239548","price":50,"doctorId":null,"inquiryQuantity":null,"articleQuantity":2}]
     * errorCode : null
     */

    private boolean result;
    private String msg;
    private String errorCode;
    /**
     * type : 2
     * doctorUrl : null
     * diagnose : null
     * commodityId : 125631572541441
     * commodityName : 艾司奥美拉唑镁肠溶片2
     * spec : 40mg*7片
     * drugUrl : https://imgvbp.yilijk.com/vbpadmin/test/image/1635131239548
     * price : 50.0
     * doctorId : null
     * inquiryQuantity : null
     * articleQuantity : 2
     */

    private List<DataBean> data;

    public boolean isResult() {
        return result;
    }

    public void setResult(boolean result) {
        this.result = result;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        private String type;
        private String doctorUrl;
        private String diagnose;
        private String commodityId;
        private String commodityName;
        private String commodityType;
        private String spec;
        private String drugUrl;
        private double price;
        private String doctorId;
        private int inquiryQuantity;
        private int articleQuantity;

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getDoctorUrl() {
            return doctorUrl;
        }

        public void setDoctorUrl(String doctorUrl) {
            this.doctorUrl = doctorUrl;
        }

        public String getDiagnose() {
            return diagnose;
        }

        public void setDiagnose(String diagnose) {
            this.diagnose = diagnose;
        }

        public String getCommodityId() {
            return commodityId;
        }

        public void setCommodityId(String commodityId) {
            this.commodityId = commodityId;
        }

        public String getCommodityName() {
            return commodityName;
        }

        public void setCommodityName(String commodityName) {
            this.commodityName = commodityName;
        }

        public String getCommodityType() {
            return commodityType;
        }

        public void setCommodityType(String commodityType) {
            this.commodityType = commodityType;
        }

        public String getSpec() {
            return spec;
        }

        public void setSpec(String spec) {
            this.spec = spec;
        }

        public String getDrugUrl() {
            return drugUrl;
        }

        public void setDrugUrl(String drugUrl) {
            this.drugUrl = drugUrl;
        }

        public double getPrice() {
            return price;
        }

        public void setPrice(double price) {
            this.price = price;
        }

        public String getDoctorId() {
            return doctorId;
        }

        public void setDoctorId(String doctorId) {
            this.doctorId = doctorId;
        }

        public int getInquiryQuantity() {
            return inquiryQuantity;
        }

        public void setInquiryQuantity(int inquiryQuantity) {
            this.inquiryQuantity = inquiryQuantity;
        }

        public int getArticleQuantity() {
            return articleQuantity;
        }

        public void setArticleQuantity(int articleQuantity) {
            this.articleQuantity = articleQuantity;
        }
    }
}
